<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>{% if title %} {{ title }} {% else %} IASNA Indicators {% endif %}</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="{{ TEMPLATES_MEDIA_URL }}default.css" rel="stylesheet" type="text/css" />
</head>
<body>

<div id="header">
	<a href="/reflexion/">
		<div id="logo">
			<h1><a href="/reflexion/">IASNA</a></h1>
			<h2><a href="/reflexion/">Reflexion Board</a></h2>
		</div>
	</a>
	<div id="menu">
		<ul>
			{% for key, value in indicator_type.items %}
				<li class="{{ value.status }}"><a href="{{ value.url }}" accesskey="1" title="">{{ value.short_name }}</a></li>
			{% endfor %}
		</ul>
	</div>
	<div id="splash"><img src="{{ TEMPLATES_MEDIA_URL }}images/img05.jpg" alt="" width="480" height="102" /></div>
</div>

<div id="content">
	<div id="posts">
		<div class="post">
			<h2 class="title">{{ subtitle }}</h2>
			<!--<h3 class="date">Posted on February 25, 2007 by John Doe</h3>-->
			<div class="story">
				{% if welcome %}
					{{ welcome }}
					<p>Para continuar seleccione una de las siguientes opciones.</p>
					{% for key, value in options.items %}
						<li><a href="{{value.url}}">{{ key }}</a></li>
					{% endfor %}
				{% else %}
					Indicator Type: {{ type }}<br />
					Activity: {{ activity }}<br />
					Date Time: {{ indicators.datetime_ini }} - {{ indicators.datetime_end }}<br /><br />
					
					<table class="indicators">
						{% ifequal type 'actor' %}
							<tr class="table_header">
								<th class="table_header" colspan="{{ indicators.metrics_count_3 }}">{{ indicators.name }}</th>
							</tr>
							<tr class="table_header">
								<th class="table_header" rowspan="2">Session</th>
								<th class="table_header" rowspan="2">Actor</th>
								<th class="table_header" colspan="{{ indicators.metrics_count }}">Metrics</th>
								<th class="table_header" rowspan="2">Value</th>
							</tr>
							<tr class="table_header">
								{% if indicators.indicator %}
									{% for metric in indicators.indicator.0.0.metrics %}
										<th class="table_header">{{ metric }}</th>
									{% endfor %}
								{% endif %}
							</tr>
							
							
							{% for indicator in indicators.indicator %}
								{% for indicator2 in indicator %}
									<tr class="{{ row_color }}">
										<td>{{ indicator2.session }}</td>
										<td>{{ indicator2.actor }}</td>
										{% for key, value in indicator2.metrics.items %}
											<td>{{ value }}</td>
										{% endfor %}
										<td>{{ indicator2.value }}</td>
									</tr>
								{% endfor %}
							{% endfor %}
						
						
						{% else %}
							<tr class="table_header" >
								<th class="table_header" colspan="{{ indicators.metrics_count_2 }}">{{ indicators.name }}</th>
							</tr>
							<tr class="table_header">
								<th class="table_header" rowspan="2">Session</th>
								<th class="table_header" colspan="{{ indicators.metrics_count }}">Metrics</th>
								<th class="table_header" rowspan="2">Value</th>
							</tr>
							<tr class="table_header">
								{% if indicators.indicator %}
									{% for metric in indicators.indicator.0.metrics %}
										<th class="table_header">{{ metric }}</th>
									{% endfor %}
								{% endif %}
							</tr>
							{% for indicator in indicators.indicator %}
								{% if indicator.metrics %}
									<tr class="{{ row_color }}">
										<td>{{ indicator.session }}</td>
										{% for key, value in indicator.metrics.items %}
											<td>{{ value }}</td>
										{% endfor %}
										<td>{{ indicator.value }}</td>
									</tr>
								{% endif %}
							{% endfor %}
						{% endifequal %}
					</table>
					
					<p>Se muestra a continuacion una imagen representativa de las interacciones
					del grupo {{ activity }} al finalizar la actividad. Solo se tiene en cuenta la ultima sesion
					ejecutada.</p>
					<img  src="{{ graph_url }}" alt="Grafo de interacciones para el grupo {{ activity }} " border="1"></img>
					
				{% endif %}
			</div>
		</div>
	</div>
	
	
	<div id="bar">
		<div id="archives" class="boxed1">
			<h2>Activities</h2>
			<ul>
				{% if filenames %}
				{% for key, value in filenames.items %}
					<li class="{{ value.status }}"><a href="{{ value.url }}">{{ key }}</a></li>
				{% endfor %}
				{% else %}
					Continue con los opciones indicadas.
				{% endif %}
			</ul>
		</div>
		<div id="categories" class="boxed1">
			<h2>Indicators</h2>
			<ul>
				{% if all_indicators %}
					{% for key, value in all_indicators.items %}
						<li class="{{ value.status }}"><a href="{{ value.url }}">{{ key }}</a></li>
					{% endfor %}
				{% else %}
					{% ifequal type 'actor' %}
						{% for key, value in actor_indicators.items %}
							<li class="{{ value.status }}"><a href="{{ value.url }}">{{ key }}</a></li>
						{% endfor %}
					{% else %}
						{% ifequal type 'network' %}
							{% for key, value in network_indicators.items %}
								<li class="{{ value.status }}"><a href="{{ value.url }}">{{ key }}</a></li>
							{% endfor %}
						{% else %}
							Continue con las opciones indicadas.
						{% endifequal %}
					{% endifequal %}
				{% endif %}
			</ul>
		</div>
		<div id="categories" class="boxed2">
			<h2>Modules</h2>
			<ul>
				{% if modules %}
					{% for key, value in modules.items %}
						<li class="{{ value.status }}"><a href="{{ value.url }}">{{ key }}</a></li>
					{% endfor %}
				{% endif %}
			</ul>
		</div>
	</div>
</div>
<div id="footer">
	<p id="copy">&copy;2010 IASNA tools. Designed under <a href="http://code.google.com/p/iasna/">IASNA Project.</a></p>
	<p id="feed"><a href="#" id="rss">RSS Feed</a></p>
</div>
<a href='http://www.mcanime.net/' title='kinsoku jikou'>kinsoku jikou</a>
</body>
</html>
